package com.thyme.system.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@ApiModel(value = "wyt_shipment 对象", description = "货主信息表")
@Data
@Builder
public class WytShipment implements Serializable {

    @ApiModelProperty(value = "编号")
    private Integer id;

    private String code;

    /**
     * 头像地址
     */
    @ApiModelProperty(value = "头像地址")
    private String headImg;

    /**
     * 用户码
     */
    @ApiModelProperty(value = "用户码")
    private String userCode;

    private Integer score;

    /**
     * 员工类型
     */
    @ApiModelProperty(value = "员工类型")
    private Integer staffType;

    /**
     * 公司码
     */
    @ApiModelProperty(value = "公司码")
    private String companyCode;

    /**
     * 姓名
     */
    @ApiModelProperty(value = "姓名")
    private String name;

    /**
     * 电话号码
     */
    @ApiModelProperty(value = "电话号码")
    private String phone;

    /**
     * 推荐人
     */
    @ApiModelProperty(value = "推荐人")
    private String recommendedMan;

    private BigDecimal amount;

    private String doorImg;

    /**
     * 公司名
     */
    @ApiModelProperty(value = "公司名")
    private String companyName;

    /**
     * 营业执照图片
     */
    @ApiModelProperty(value = "营业执照图片")
    private String businessLicenseImg;

    /**
     * 身份证
     */
    @ApiModelProperty(value = "身份证")
    private String identificationImg;

    /**
     * 营业执照号
     */
    @ApiModelProperty(value = "营业执照号")
    private String businessLicenseImgNo;

    private String shuiNo;

    private BigDecimal shuiPoint;

    /**
     * 货主类型
     */
    @ApiModelProperty(value = "货主类型")
    private Integer shipperType;

    /**
     * 授权状态
     */
    @ApiModelProperty(value = "授权状态")
    private Integer authStatus;

    private Integer isReviewDriver;

    private BigDecimal bond;

    private BigDecimal bondFreezeAmount;

    private String isIndependentCheckout;

    /**
     * 付款账号
     */
    @ApiModelProperty(value = "付款账号")
    private String payAccount;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    /**
     * 认证时间
     */
    @ApiModelProperty(value = "认证时间")
    private LocalDateTime authTime;

    private Integer isReleaseCheck;

    private Integer isMonthlyClient;

    private Integer isContractualShipment;

    public WytShipment() {

    }

    public WytShipment(Integer id, String code, String headImg, String userCode, Integer score, Integer staffType, String companyCode, String name, String phone, String recommendedMan, BigDecimal amount, String doorImg, String companyName, String businessLicenseImg, String identificationImg, String businessLicenseImgNo, String shuiNo, BigDecimal shuiPoint, Integer shipperType, Integer authStatus, Integer isReviewDriver, BigDecimal bond, BigDecimal bondFreezeAmount, String isIndependentCheckout, String payAccount, LocalDateTime createTime, LocalDateTime authTime, Integer isReleaseCheck, Integer isMonthlyClient, Integer isContractualShipment) {
        this.id = id;
        this.code = code;
        this.headImg = headImg;
        this.userCode = userCode;
        this.score = score;
        this.staffType = staffType;
        this.companyCode = companyCode;
        this.name = name;
        this.phone = phone;
        this.recommendedMan = recommendedMan;
        this.amount = amount;
        this.doorImg = doorImg;
        this.companyName = companyName;
        this.businessLicenseImg = businessLicenseImg;
        this.identificationImg = identificationImg;
        this.businessLicenseImgNo = businessLicenseImgNo;
        this.shuiNo = shuiNo;
        this.shuiPoint = shuiPoint;
        this.shipperType = shipperType;
        this.authStatus = authStatus;
        this.isReviewDriver = isReviewDriver;
        this.bond = bond;
        this.bondFreezeAmount = bondFreezeAmount;
        this.isIndependentCheckout = isIndependentCheckout;
        this.payAccount = payAccount;
        this.createTime = createTime;
        this.authTime = authTime;
        this.isReleaseCheck = isReleaseCheck;
        this.isMonthlyClient = isMonthlyClient;
        this.isContractualShipment = isContractualShipment;
    }
}
